IASPEI/IAVCEI Joint Commission on Volcano Seismology
Tutorial 3 - Convolution and Correlation

For an interactive version of this page, please click on the link below related to the required topic:

    Convolution
    Correlation

 (requires flash).

 

CONVOLUTION

 

When two time series (a, b) are convolved together, the result is a new time series (c).

 

Convolution may be applied in either the time or frequency domains:

 

convolution equations

 

(time domain)

 

 

 

 (frequency domain)

               -  multiplication - the product of the z-transforms of the two time series.

  

The result of the convolution is a new time series of length equal to the sum of N and M decremented, where N and M are the lengths of sequences a and b respectfully.

 

Convolution may be thought of in terms of taking one time series, and reflecting in the vertical ('folding'), then shifting in steps whilst multiplying corresponding values and summing.

 

Cyclic convolution is different from ordinary convolution because the shorter timeseries is padded with zeroes to make it the same length as the second sequence.  This results in a different result, although, the central values should be equal in either case, the ends of the new time series should be different, reflecting a kind of "filter warm-up".

 

Calculating Ordinary Convolution
Ordinary Convolution

 

Calculating Cyclic Convolution
Cyclic Convolution

 

Convolution with a delta pulse returns the original sequence shifted in time.

 

Filters are applied to a timeseries via convolution.  Filtering involves convolution of a sequence with a second (usually shorter) sequence used to enhance certain features, and supress others.

 

The process of convolution may be classed as associative, commutative and distributive, i.e.:

  

 Associative:                

 

(a * b) * c = a * (b * c) 

 

 Commutative:

 

a * b = b *

A(z) B(z) = B(z) A(z)      

 

 Distributive

 

a * (b + c) = (a * b) + (a * c)

 

                     

 

The process opposite to convolution is known as deconvolution.

 

 

 

CORRELATION

 

Cross-correlation is defined as:

    cross-correlation equation

 

This is a very similar operation to convolution.  However, correlation may be used to investigate the similarities between two time series and returns the lag time between them.

 

Autocorrelation is equivalent to cross-correlation, but with the two time series equal:

    autocorrelation equation

 

The correlation coefficient is a measure of the similarity between two sequences:

    cross-correlation coefficients

 

The mathematical procedure for calculating the cross-correlation is very similar to that of convolution. 

   

Calculating the cross-correlation
Cross-Correlation
 

 

 
< Prev   Next >

In the Gallery:

1231277599_1177932891_n197810912_34046687_6269.jpg
Copyright � 2007 Conception and realisation by Alix Poxon & Olivia Lewis. Template courtesy of Joomladesigns